package com.itheima.d2_reflect_framework;

import javax.xml.stream.events.StartDocument;

/**
 * 提供一个通用框架，支持保存所有对象的具体数据
 */
public class ReflectDemo {
    public static void main(String[] args) {
        Student s = new Student(19,"男","廖家","二次元","打胶");
        Teacher t = new Teacher("男","猛哥",8848);
        MyFrameWork.save(s);
        MyFrameWork.save(t);

    }
}
